package com.myidis.entity;

public class QuotaData {
	private int id;
	private int frequency;
	private String time;
	private int quota;
	private int dataItem;
	private double value;
	private String unit;
	
	public QuotaData() {}
	
	public QuotaData(String time, double value) {
		super();
		this.id = -1;
		this.frequency = -1;
		this.time = time;
		this.quota = -1;
		this.dataItem = -1;
		this.value = value;
		this.unit = null;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getFrequency() {
		return frequency;
	}
	public void setFrequency(int frequency) {
		this.frequency = frequency;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public int getQuota() {
		return quota;
	}
	public void setQuota(int quota) {
		this.quota = quota;
	}
	public int getDataItem() {
		return dataItem;
	}
	public void setDataItem(int dataItem) {
		this.dataItem = dataItem;
	}
	public double getValue() {
		return value;
	}
	public void setValue(double value) {
		this.value = value;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
}
